<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <ul>
        <li v-for="p in personArr">{{p}}</li>
      </ul>
      <hr>
      <ul>
        <li v-for="(p, index) in personArr">{{index}}--{{p}}</li>
      </ul>
      <hr>
      <ul>
        <li v-for="(p,index) in arr">{{index}} -- {{p['name']}}</li>
      </ul>
      <hr>
      <ul>
        <li v-for="p of personArr">{{p}}</li>
      </ul>
    </div>

    <script src="../js/vue.js"></script>

    <script>
      const app = Vue.createApp({
        data() {
          return {
            personArr: [1,3,"wx", "jihyi"],
            arr:[
              {id:5,name:'wwx'},
              {id:8,name:'wwx4'},
              {id:9,name:'wwx5'},
            ]
          }
        }
      }).mount("#app");
    </script>
  </body>
</html>